Python program to check palindrome number